#include "inputtype.h"
#include  <iostream>

InputType::InputType()
{
}

InputType::~InputType()
{
}

bool InputType::poll()
{
  return isOpen();
}

bool InputType::isOpen() const
{
  return true;
}

std::string InputType::name() const
{
  return mName;
}

InputData InputType::data() const
{
  return mData;
}

void InputType::ackData()
{
  mData.ack();
}

std::ostream& operator<<(std::ostream& o, const InputType& input)
{
  return o << input.data();
}
